﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;

namespace NKD07
{
    public partial class _default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            // load new products
            LoadNewProducts();
        }

        private void LoadNewProducts()
        {
            Classes.product product = new Classes.product();
            DataTable products =   product.getNewProducts();
            dtlNewProducts.DataSource = products;
            dtlNewProducts.DataBind();
        }
    }
}